import type { Dayjs } from "dayjs";

export interface Candidate {
    id?: string,
    name?: string,
    age?: number,
    contactNumber?: string,
    birthdayFiled?: Dayjs,
    birthday?: string
}

export interface CandidateDto extends Candidate {
    current?: number,
    size?: number
}

export type FieldType = {
  username?: string;
  password?: string;
  remember?: string;
};

export interface CandidateAddFormMethods {
    open: (row?: Candidate) => void;
}

export interface candidateFormProps {
    reQuery: (params?: CandidateDto) => void
}